package model

func (EmailTpl) TableName() string {
	return "email_tpl"
}

type EmailTpl struct {
	Model
	UserId     string `gorm:"size:40;not null;default:''"` // mail server owner
	CategoryId string `gorm:"size:40;not null;default:''"` // from email
	Name       string
	Params     string `gorm:"type:text;not null;default:''"`
	Content    string `gorm:"type:text;not null;default:''"`
	Comment    string `gorm:"not null;default:''"`
	Enable     uint8  `gorm:"not null;default:0"` // default 0: enable 1: disable
}
